html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
.row1{
    display: flex;
    flex-direction: row;
    height: 100%;
}
.column1{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}
.btnDiv{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 10px;
}
.input{
    height: 30%;
    border: 2px solid #4f5c70;
    font-size: 24px;
    border-radius: 15px; /* 添加圆角 */
}
.button {
    background-color: white;
    border: none;
    color: #2f4056;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}
.btnInput{
    font-size: 24px;
    width: 200px;
    height: auto;
    color:#2f4056 ;
    border: 4px solid #2f4056;
    border-radius: 15px;
}
.btnInput:hover {
    background-color: #2f4056;
    color: white;
    border: 2px solid #2f4056;
}
.ai-message-container{
    display: flex;
    align-items: flex-start;
    line-height: 2;
}
.user-message-container{
    display: flex;
    align-items: flex-start;
    line-height: 2;
}
.ai-message{
    color: #fff; /* AI消息的颜色 */
    background-color:#4f5c70;
    border: 2px solid #4f5c70;
    border-radius: 10px;
    margin: 10px;

}
.user-message{
    color: #4f5c70; /* 用户消息的颜色 */
    background-color:#dadce1;
    border: 2px solid #dadce1;
    border-radius: 10px;
    margin: 10px;
}
.ai-message-container img{
    width: 30px;
    height: 30px;
    margin-right: 10px;
    margin-top: 10px;
}
.ai-message-container .ai-image{
    width: 300px;
    height: 300px;

}
.user-message-container img{
    width: 30px;
    height: 30px;
    margin-right: 10px;
    margin-top: 10px;
}
#chatContainer{
    height: 60%;
    border: 2px solid #4f5c70;
    font-size: 24px;
    border-radius: 15px; /* 添加圆角 */
    background-color: white;
    overflow:auto
}
#history{
    margin-top: 3px;
    height: 85%;
    border: 2px solid #4f5c70;
    font-size: 24px;
    border-radius: 15px; /* 添加圆角 */
    background-color: white;
    overflow:auto
}
.aiMessage{
    color: #fff; /* AI消息的颜色 */
    background-color:#4f5c70;
    border: 2px solid #4f5c70;
    border-radius: 10px;
    margin: 10px;
}
.userMessage{
    color: #4f5c70; /* 用户消息的颜色 */
    background-color:#dadce1;
    border: 2px solid #dadce1;
    border-radius: 10px;
    margin: 10px;
}
.aiMessageDiv{
    display: flex;
    align-items: flex-start;
    line-height: 2;
}
.userMessageDiv{
    display: flex;
    align-items: flex-start;
    line-height: 2;
}
.aiMessageWrapper{
    display: flex;
    align-items: flex-start;
    line-height: 2;
}
.userMessageWrapper{
    display: flex;
    align-items: flex-start;
    line-height: 2;
}